import request from '@/utils/request'

// 查询样本预警 列表
export function listSampleAlarm(query) {
  return request({
    url: '/biobank/sampleAlarm/list',
    method: 'get',
    params: query
  })
}

// 查询样本预警 详细
export function getSampleAlarm(sampAlarmId) {
  return request({
    url: '/biobank/sampleAlarm/' + sampAlarmId,
    method: 'get'
  })
}

// 获取样本预警 数量
export function getAlarmCount() {
  return request({
    url: '/biobank/sampleAlarm/getAlarmCount',
    method: 'get'
  })
}
